<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ page isELIgnored="false" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Login</title>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/res/css/login.css"></link>
	<script type="text/javascript">
		if(window.opener!=null){
			window.close(); 
		}
	</script>
</head>
<body>
	<form action="j_spring_security_check" method="post" id="LoginForm">
	 <div id="container" style="">
		 <div class="loginLabel">
		 	<div id="login-error">${error}</div>
			UserName:<br><br>Password :
			<input id="j_username"  class="loginInput" placeholder="Type in mySingle ID here"
					name="j_username" type="text" maxlength="12"/>
			<input id="j_password"   class="loginInput"  
					name="j_password" type="password" maxlength="15"/>
			<div id="btnarea">
				<button  type="submit" style="padding:3px 5px 3px 5px;" id="loginBtn">Login</button>
				<button  style="padding:3px 5px 3px 5px;" onClick="alert('Please contract zy1.wang@samsung.com for help!');return false;" >Find Password</button>	
			</div>	
		 </div>
		</div>
	</form>
	<div class="login-mask"></div>
	<div class="login-model-frame">
		<div class="modal-header"> 
			<h3>提示信息</h3> 
		</div>
		<div class="modal-body">
			<p id="versionCheckInfo" class="info">您的浏览器版本过低，请先升级到IE11再使用！</p>
		</div>
	</div>
	<script type="text/javascript" src = "${pageContext.request.contextPath}/res/js/jquery.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/common/common.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/common/login.js"></script>
</body>
</html>
